package com.xuecheng.api.teaching.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 作业提交记录
 * </p>
 *
 * @author itcast
 */
@Data
@ApiModel(value="WorkRecordDTO", description="作业提交记录")
public class WorkRecordDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long workRecordId;

    @ApiModelProperty(value = "作业提交id")
    private Long userId;

    @ApiModelProperty(value = "作业提交人")
    private String username;

    @ApiModelProperty(value = "作业标识")
    private Long workId;

    @ApiModelProperty(value = "课程发布标识")
    private Long coursePubId;

    @ApiModelProperty(value = "课程计划ID")
    private Long teachplanId;

    @ApiModelProperty(value = "课程计划名称")
    private String teachplanName;

    @ApiModelProperty(value = "作业内容")
    private String question;

    @ApiModelProperty(value = "完成内容")
    private String answer;

    @ApiModelProperty(value = "类型(文字，文件等)")
    private String type;

    @ApiModelProperty(value = "状态(未提交--0，待批改--1,，已批改--2)")
    private String status;

    @ApiModelProperty(value = "批改人")
    private Long teacherId;

    @ApiModelProperty(value = "批改意见")
    private String correctComment;

    @ApiModelProperty(value = "批改时间")
    private LocalDateTime correctionDate;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime changeDate;


}
